package com.yuda.operationcenter.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yuda.common.core.annotation.Excel;
import com.yuda.common.core.web.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 考点资质对象 oper_examination_site_qualifications
 *
 * @author wyn
 * @date 2021-04-12
 */
public class OperExaminationSiteQualifications extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 外键引用了 sparta_school的id */
    @Excel(name = "外键引用了 sparta_school的id")
    private Long schoolId;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String contactAddr;

    /** 机房数量 */
    @Excel(name = "机房数量")
    private Long numberComputerRoom;

    /** 机位数量 */
    @Excel(name = "机位数量")
    private Long numberPc;

    /** 申请时间 */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 申请资质图片链接 */
    @Excel(name = "申请资质图片链接")
    private String applyQualificationImgsUrl;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSchoolId(Long schoolId)
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId()
    {
        return schoolId;
    }
    public void setContactPerson(String contactPerson)
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson()
    {
        return contactPerson;
    }
    public void setContactPhone(String contactPhone)
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone()
    {
        return contactPhone;
    }
    public void setContactAddr(String contactAddr)
    {
        this.contactAddr = contactAddr;
    }

    public String getContactAddr()
    {
        return contactAddr;
    }
    public void setNumberComputerRoom(Long numberComputerRoom)
    {
        this.numberComputerRoom = numberComputerRoom;
    }

    public Long getNumberComputerRoom()
    {
        return numberComputerRoom;
    }
    public void setNumberPc(Long numberPc)
    {
        this.numberPc = numberPc;
    }

    public Long getNumberPc()
    {
        return numberPc;
    }
    public void setApplyTime(Date applyTime)
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime()
    {
        return applyTime;
    }
    public void setApplyQualificationImgsUrl(String applyQualificationImgsUrl)
    {
        this.applyQualificationImgsUrl = applyQualificationImgsUrl;
    }

    public String getApplyQualificationImgsUrl()
    {
        return applyQualificationImgsUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolId", getSchoolId())
            .append("contactPerson", getContactPerson())
            .append("contactPhone", getContactPhone())
            .append("contactAddr", getContactAddr())
            .append("numberComputerRoom", getNumberComputerRoom())
            .append("numberPc", getNumberPc())
            .append("applyTime", getApplyTime())
            .append("applyQualificationImgsUrl", getApplyQualificationImgsUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
